<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>main</title>
<load href='__PUBLIC__/Css/admin.css' />
<load href='__PUBLIC__/Js/admin_content.js' />
<load href="__PUBLIC__/Js/jquery-1.7.2.min.js" />
<script>
	$(document).ready(function(){
		$("select option[value=" + {$cat} + "]").attr("selected",true);
	});
</script>
</head>
<body id="main">
<div class="map">
	内容管理 &gt;&gt; 查看文章列表 &gt;&gt; <strong id="title">文章列表</strong>
</div>

<ol>
	<li><a href="__URL__/index" class="selected">文章列表</a></li>
	<li><a href="__URL__/add">新增文章</a></li>
</ol>

<table cellspacing="0">
	<tr><th>编号</th><th>标题</th><th>属性</th><th>文章类别</th><th>浏览次数</th><th>发布时间</th><th>操作</th></tr>
	<volist name="list" id="vo">
	<tr>
		<td>{$vo.id}</td>
		<td><a href="__ROOT__/index.php/List/details/id/{$vo.id}" target="_blank">{$vo.title}</a></td>
		<td>{$vo.attr}</td>
		<td>{$vo.category_name}</td>
		<td>{$vo.count}</td>
		<td>{$vo.date|date="Y-m-d H:i:s",###}</td>
		<td><a href="__URL__/edit/id/{$vo.id}">修改</a> | <a href="__URL__/delete/id/{$vo.id}" onclick="return confirm('你真的要删除这个文章吗？') ? true : false">删除</a></td>
	</tr>
	</volist>
</table>
<form action="__URL__/index" method="get">
<div id="page">
		{$page}
		<input type="hidden" name="action" value="show" />
		<select name="category" class="select">
			<option value="0">默认全部</option>
			<volist name="category" id='vo'>
						<option value="{$vo.id}">{$vo.fname}</option>
			</volist>
		</select>
		<input value="查询" type="submit" />
</div>
</form>
</body>
</html>